#ifndef TOOLS_DEF
#define TOOLS_DEF

#define NAME_SIZE 100
#define DIRECTORY_SIZE 256 
#define EXTENSION_SIZE 4
#define MAX_CONFIG 80
#define MAX_CREEP 500
#define MAX_VAGUE 100
#define MAX_TOWER 10
#define MAX_CHAR 500
#define ACCESSIBLE 2

enum {FALSE, TRUE};

typedef struct Coor Coor;
struct Coor {
	double x;
	double y;
};

typedef struct Area Area;
struct Area {
	Coor knot;
	Coor dim;
};

typedef struct MapCoor MapCoor;
struct MapCoor {
	int x;
	int y;
};

typedef struct State State;
struct State {
	int cur;
	int pre;
};

#endif
